export const ICON_SIZE = '2em';
export const ICON_PAD = '0.4em';
export const CELL_PADDING = '0.4em';

export function getIcon(icon: string) {
	const b64 = btoa(icon.replaceAll(/<path d/g, '<path style="fill:#888" d'));
	return `url(data:image/svg+xml;base64,${b64})`;
}
